<%-- 
    Document   : Form_CenterNews
    Created on : Dec 27, 2014, 11:20:08 PM
    Author     : Tran Thuy Duong
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>

<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
        <link rel="stylesheet" type="text/css" href="css/news.css"/>
    </head>
    <body>
       
        <div class="center_content" id="center_content" >
					
                <div class="center_title_bar">
                        TIN TỨC
                </div>

                <div id="content">
                    <div class="news" id="news">
                    <c:set var="INFO" value="${requestScope.INFO_CenterNews}"/>
                        <c:if test="${not empty INFO}">
                            <table  cellspacing="10px" >
                                <c:forEach var="rows" items="${INFO}">
                                    <tr>  
                                
                                        <td><a href="#"><img src="images/${rows.hinhanh}" height="100px" width="130px" /></a></td>
                                        <td><a href="#"><h3>${rows.tieudett}</h3></a>
                                                <p>${rows.ngaydang}</p>
                                                <p>${rows.mota}</p>
                                        </td>

                                    </tr>
                             
                                </c:forEach>
                            </table>
                        </c:if>      
                    </div>
                      
                </div>
          </div>
        
    </body>
</html>
